package com.longteng.java.web;

import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * Created by tianqing.wang
 * DATE : 2018/3/25
 * TIME : 下午2:03
 * PROJECT : web-lesson
 * PACKAGE : com.longteng.java.web
 *
 * @author <a href="mailto:celeskyking@163.com">tianqing.wang</a>
 */
@Component
public class TestInject {

    @Resource
    private RandomHelper randomHelper;


    public void print(){
        System.out.println(randomHelper.getRandom(1,10));
    }

}
